package com.link.base.base.buryingpoint.buriedcode.service;

import com.link.base.base.buryingpoint.buriedcode.model.BuriedCode;
import com.link.core.basic.service.BasicService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * 埋点代码-埋点代码
 *
 * @author 秦学刚
 * @date 2019/02/26 09:30
 */
public interface BuriedCodeService extends BasicService<BuriedCode> {

    /**
     * 批量下载埋点代码
     *
     * @author 秦学刚
     * @param list 埋点对象列表
     */
    String batchBuriedDownLoad(List<BuriedCode> list) throws Exception;

    /**
     * 保存埋点信息
     *
     * @author 秦学刚
     * @param json 埋点信息json串
     */
    void batchBuriedInsert(String json,HttpServletRequest request) throws Exception;
}
